<%--
 *  File:    ApprovalFailTempOrgDH1Detail.jsp
 *  @Author: Saraxia 
 *  Date:    2012/11/15
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval. 
--%>
 

<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<% //--------------------------------------  setting logger --%>
<%
  	Category cat = Category.getInstance("jsp.ApprovalFailTempOrgDH1Detail"); 
%>

<% //--------------------------------------  variant and initialization --%>
<%
    String strModuleName = "PCM";
  	String strTableName = "";
  	String privilegeCode = "11601";
  	String contextPath = request.getContextPath();
%>



<%
  	HashMap CurUserInfo = (HashMap)session.getAttribute("userinfo");

String strFromuserid = (CurUserInfo.get("userid")).toString();
%>

<% //--------------------------------------  include files list --%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/FrmDefault.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>


<html>
<head>
<title>ApprovalFailTempOrgDH1Detail</title>
<PageFlow:CheckPageFlow pageName="approvalfailtempdetail"/>
<% //--------------------------------------  output variant from pageflow --%>
<%

  	Vector userGroupSummary = (Vector)pageContext.getAttribute("ugsummary");
  	if(userGroupSummary == null)
  	{
    	userGroupSummary = new Vector();
  	}
  	
  	  	Vector oldhtotalsummary = (Vector)pageContext.getAttribute("oldhtotalsummary");
  	if(oldhtotalsummary == null)
  	{
  		oldhtotalsummary = new Vector();
  	}

  	
  	HashMap prohash = (HashMap)pageContext.getAttribute("prohash");
  	if(prohash == null) prohash = new HashMap();
  	
  	//out.println(prohash);
  	String subjectcode = (String)pageContext.getAttribute("subjectcode");
  	
	
%>

<%@ include file="/inc/InitEdit.inc" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/js/boxover.js"></script>
<script language="JavaScript" src="<%=contextPath %>/css/<%= strLanguageCode %>/script.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/FuncLib.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script type="text/javascript" src="<%=contextPath%>/js/opal2/mootools.js"></script>
<%@ include file="/inc/SummaryDivision.inc" %>
<script>

function page_summary(actionvalue,orderbyname)
{
  var editform = summaryPrepare(usergroupsummaryform,actionvalue,orderbyname);
  editform.action = "ApprovalFailTempOrgDH1Detail.jsp?<%= OvalTools.randomURL() %>";
  editform.target = "_self";
  isRunning = true;
  editform.submit();  
}


function allcheckselect(){
	var allcheck = usergroupsummaryform.allcheck.checked;
	var alldatafile = document.getElementsByName('batchnoidstr');
	var length = alldatafile.length;
	if(allcheck){
		for(var i = 0 ; i < length;i++){
			alldatafile[i].checked = true;
		}
	}else{
		for(var i = 0 ; i < length;i++){
			alldatafile[i].checked = false;
		}	
	}
}


function editMode(obj,index,name,id) {
    if ($(name + index) == null) {
        var c = Trim(obj.innerText);
        var t = new Element('input', {
            'type':'text',
            'value':c,
            'styles':{
                    'width':'500px'
                     },
            'id':name + index,
            'name':name,
            'events':{
                'blur':function() {
                    saveData(this,id,c);
                },
                'keydown':function() {
                    if (event.keyCode == 13) {
                        saveData(this,id,c);
                    }
                }
            }
        });
       
        obj.innerHTML = '&nbsp;';
        t.inject(obj);
        selectText(t);
    }
}

function saveData(obj,id,c) {
    var p = obj.parentNode;
    var fromusrid= document.usergroupsummaryform.fromuserid.value ;
    var subjectcode = document.usergroupsummaryform.subjectcode.value ;
    var begindate = document.usergroupsummaryform.begindate.value ;
    p.innerHTML = obj.value;
    var req = new Request({
        'url':'<%=contextPath%>/Dispatcher',
        'method':'get',
        'data':'pagename=approvalfailtempdetail&actionname=save&columnname=' + obj.name + '&columnvalue='+ encodeURI(obj.value) + '&transactionid=' + id+'&transactioncode=' + id +'&fromuserid='+fromusrid+ '&subjectcode='+subjectcode+'&begindate='+begindate
    });
    req.send(); 
    window.location.reload();
}

//选中文本框中的字符



function selectText(obj) {
    var range = obj.createTextRange();
    range.moveStart("character", 0);
    range.select();
}

/*
function page_update(){
	
    if(isNullChecked(usergroupsummaryform.brandcodes))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }

	var alldatafile = document.getElementsByName('brandcodes');
	var length = alldatafile.length;
		for(var i=0;i<length;i++){
	      var j=i+1;
		  if(alldatafile[i].checked){
		    var approvalproposal=eval("document.usergroupsummaryform.approvalproposal111"+j).value;
			if(approvalproposal=="")
			{
				alert("<%= message.getMessageDesc("VALUE_NOT_NULL",label.getLabelName("L_Approve",false)) %>");
		        return;
			}
		  }
		}
    
	document.usergroupsummaryform.actionname.value = "update";
	document.usergroupsummaryform.target = "_self";
    isRunning = true;
	document.usergroupsummaryform.submit();
}

function page_agree(){
	
    if(isNullChecked(usergroupsummaryform.brandcodes))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }

	document.usergroupsummaryform.actionname.value = "agree";
	document.usergroupsummaryform.target = "_self";
    isRunning = true;
	document.usergroupsummaryform.submit();
}

function page_disagree(){
    if(isNullChecked(document.usergroupsummaryform.brandcodes))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }

	var alldatafile = document.getElementsByName('brandcodes');
	var length = alldatafile.length;
		for(var i=0;i<length;i++){
	      var j=i+1;
		  if(alldatafile[i].checked){
		    var approvalproposal=eval("document.usergroupsummaryform.nc0"+j).value;
			if(approvalproposal=="")
			{
				alert("<%= message.getMessageDesc("VALUE_NOT_NULL",label.getLabelName("L_Approve",false)) %>");
		        return;
			}
		  }
		}
	document.usergroupsummaryform.actionname.value = "disagree";
	document.usergroupsummaryform.target = "_self";
    isRunning = true;
	document.usergroupsummaryform.submit();
}
*/
function page_done(a_str)

{ 
 var approvalnoteseditform= document.usergroupsummaryform;
 if(isNullChecked(approvalnoteseditform.batchnoidstr))
    {
        alert("<%= message.getMessageDesc("PLEASE_SELECT") %>");
        return;
    }
 var alldatafile = document.getElementsByName('batchnoidstr');
 var length = alldatafile.length;
 for(var i = 0 ; i < length;i++){
  if (alldatafile[i].checked){
  
	var objstatus=eval('usergroupsummaryform.status'+i);
	
	 if ( objstatus.value!=20){
        alert("<%=message.getMessageDesc("J_STATUS_CHECK_ERROR")%>");
      return;
  }
  }
 }

 if(a_str=="agree")
    {
      if (isAllSpace(approvalnoteseditform.nt0.value)){
     
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Agree",false)%>";
      }else{
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Agree",false) + label.getLabelName("L_Colon")%>"+approvalnoteseditform.nt0.value;
      }
    	approvalnoteseditform.actionname.value = "approvepassed";
    }else if(a_str=="deny"){
   
      if (isAllSpace(approvalnoteseditform.nt0.value)){
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Refuse",false)%>";
      }else{
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_Refuse",false) + label.getLabelName("L_Colon")%>"+approvalnoteseditform.nt0.value;
      }
        approvalnoteseditform.actionname.value = "approvedenied";
    }
    else if(a_str=="disagree"){
   
      if (isAllSpace(approvalnoteseditform.nt0.value)){
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_NotAgree",false)%>";
      }else{
        approvalnoteseditform.nt0.value = "<%= label.getLabelName("L_NotAgree",false) + label.getLabelName("L_Colon")%>"+approvalnoteseditform.nt0.value;
      }
        approvalnoteseditform.actionname.value = "approvepassed";
        
    }
   
    setValue();
   
    approvalnoteseditform.pagename.value="approvalnotesedit";
    approvalnoteseditform.target = "_self";
    isRunning = true;
    approvalnoteseditform.submit();
    }
    
    function setValue()
{
   var frm = document.usergroupsummaryform;
   frm.nt1.value = frm.nt0.value;
   frm.nc1.value = frm.nc0.value;
}
function page_back(){

	var subjectcode =document.usergroupsummaryform.subjectcode.value;
	self.location.href ="ApprovalFailSummary.jsp?<%= OvalTools.randomURL() %>"+"&globalpccode=112"+"&subjectcode="+subjectcode;
}
function page_approval()
{
  var frm = document.usergroupsummaryform;

  frm.pagename.value = "approvalfailsummary";
  frm.actionname.value = "approve";
  frm.target = "_parent";
  isRunning = true;
  frm.submit();

}
</script>

<%
String strLanguageCode0;
  String strLanguageCode1;
  if(strLanguageCode.equalsIgnoreCase("cn"))
  {
	strLanguageCode0 = "cn";
	strLanguageCode1 = "en";
  }else{
	strLanguageCode0 = "en";
	strLanguageCode1 = "cn";    
  }%>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

	<% //--------------------------------------  hidden form variant --%>
	<form name="usergroupsummaryform" method="post" action="../../Dispatcher"  target="_parent">
    <input type="hidden" name="pagename" value="approvalfailtempdetail">
    <input type="hidden" name="actionname">
    <input type="hidden" name="languagecode" value="<%= strLanguageCode %>">

    <input type="hidden" name="subjectcode" value="<%=subjectcode %>"/>
    <input type="hidden" name="globalpccode" value="112">

    <input type="hidden" name="fromuserid" value="<%=JspHelper.filterNull( strFromuserid)%>">
    <input type="hidden" name="begindate" value="<%=JspHelper.filterNull( new java.sql.Date(new java.util.Date().getTime()) )%>">
       <input type="hidden" name="languagecode0" value="<%= strLanguageCode0 %>">
    <input type="hidden" name="languagecode1" value="<%= strLanguageCode1 %>">
    <input type="hidden" name="nt0">
      <input type="hidden" name="nt1">
        <input type="hidden" name="nc1">
          <input type="hidden" name="nc0">
    <input type="hidden" name="numrows" value="2">
	<% //--------------------------------------  page location --%>
	<%@ include file="/inc/PageLocation.inc" %>
	
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
  	<tr> 
    	<td valign="top"> 
    		<table width="100%" border="0" cellspacing="0">
          	<tr><td class="summary_top" ></td></tr>
        	</table>
        </td>
   	</tr>
   	</table>
<div style="overflow:auto;width:1230;height:400">   
   	<table width="6600"  border="1" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellspacing="0" align="center">
			 
	<% if (subjectcode.equals("809")){  %>
            <tr class="deepblue-left">
              <td class="title_center" rowspan="2" width="1%">&nbsp;<input type="checkbox" name="allcheck" class="normalradio" onclick="allcheckselect();"></td>
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_SlipCode") %> </td>		
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_ApprovalStatus") %> </td>			  
              <td class="title_center" rowspan="2" width="1%"><%= label.getLabelName("L_Approve") %> </td>
              
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_OrgCode") %></td>
              <td class="title_center" rowspan="2" nowrap="nowrap"><%= label.getLabelName("L_YlCode") %></td>
              <td class="title_center" rowspan="2" width="4%"><%= label.getLabelName("L_OrgName") %></td>
              <!-- 
			  <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>1</td>	
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>2</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>3</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>4</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>5</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>6</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>7</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>8</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>9</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>10</td>
			  <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>11</td>	
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>12</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>13</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>14</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>15</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>16</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>17</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>18</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>19</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>20</td>
			  <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>21</td>	
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>22</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>23</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>24</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>25</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>26</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>27</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>28</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>29</td>
              <td class="title_center" colspan="3"><%= label.getLabelName("L_Product")+label.getLabelName("L_GroupNo") %>30</td> 
              -->
              
            <td class="title_center" colspan="3"><%=prohash.get("productgroupidname1")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+1 : prohash.get("productgroupidname1")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname2")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+2 : prohash.get("productgroupidname2")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname3")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+3 : prohash.get("productgroupidname3")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname4")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+4 : prohash.get("productgroupidname4")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname5")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+5 : prohash.get("productgroupidname5")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname6")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+6 : prohash.get("productgroupidname6")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname7")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+7 : prohash.get("productgroupidname7")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname8")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+8 : prohash.get("productgroupidname8")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname9")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+9 : prohash.get("productgroupidname9")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname10")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+10 : prohash.get("productgroupidname10")%>&nbsp;</td>
	        <td class="title_center" colspan="3"><%=prohash.get("productgroupidname11")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+11 : prohash.get("productgroupidname11")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname12")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+12 : prohash.get("productgroupidname12")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname13")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+13 : prohash.get("productgroupidname13")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname14")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+14 : prohash.get("productgroupidname14")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname15")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+15 : prohash.get("productgroupidname15")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname16")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+16 : prohash.get("productgroupidname16")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname17")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+17 : prohash.get("productgroupidname17")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname18")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+18 : prohash.get("productgroupidname18")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname19")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+19 : prohash.get("productgroupidname19")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname20")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+20 : prohash.get("productgroupidname20")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname21")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+21 : prohash.get("productgroupidname21")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname22")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+22 : prohash.get("productgroupidname22")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname23")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+23 : prohash.get("productgroupidname23")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname24")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+24 : prohash.get("productgroupidname24")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname25")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+25 : prohash.get("productgroupidname25")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname26")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+26 : prohash.get("productgroupidname26")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname27")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+27 : prohash.get("productgroupidname27")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname28")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+28 : prohash.get("productgroupidname28")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname29")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+29 : prohash.get("productgroupidname29")%>&nbsp;</td>
			<td class="title_center" colspan="3"><%=prohash.get("productgroupidname30")== null ? label.getLabelName("L_Product")+label.getLabelName("L_GroupNo")+30 : prohash.get("productgroupidname30")%>&nbsp;</td>
			                                         
            </tr>
			<tr class="deepblue-left">
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>

				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>

				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>

				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>

				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>

				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>

				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
				
				<td class="title_center"><%= label.getLabelName("L_Operation_Area") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepCode") %></td>
				<td class="title_center"><%= label.getLabelName("L_SalesRepName") %></td>
			</tr>
            
 <% } %> 
 
 

   


	

 
 	 
			
	<% //--------------------------------------  default value definition --%>
    <%
    	int i=0;
        Integer nDefaultzyldealerapproveid = new Integer(-1);               
        String strClassType = new String(); 
        boolean bHasChecked = false;
        String strDefaultIsDisabled="";
      
   	%>
   	
    <% //--------------------------------------  loop results --%>
     <span id="olddetail" >
    <logic:iterate id="usergroup" collection="<%= userGroupSummary %>" indexId="idx" scope="page">                      
    	
    <%
    	HashMap userGroupMap = (HashMap)pageContext.getAttribute("usergroup"); 
        String strIsDisabled = "";
        String strIsChecked = "";
            
        if(i%2==0){
            strClassType="td-listrom";
        } else{
            strClassType="none";
        } 
       if(!bHasChecked)
        {
	        strIsChecked = "Checked";                       
            bHasChecked = true;
            nDefaultzyldealerapproveid = (Integer)(userGroupMap.get("zyldealerapproveid"));
           
          	strDefaultIsDisabled = strIsDisabled;            
        }  
       i++;
  	%>
    
    <tr onMouseOver="this.className='tr-over'" onMouseOut="this.className='<%=JspHelper.filterNull( strClassType )%>'" class="<%=JspHelper.filterNull( strClassType )%>">

        <%  if (subjectcode.equals("809")){  %>
              <td class="title_center">
              <custom:checkbox property="zylhospitalapproveid" name="usergroup" changedName="batchnoidstr" styleClass="normalradio" />
              </td>
              <td><custom:write property="zylhospitalapproveid" name="usergroup"  nbsp="true" /></td>
              <td><custom:write property="detailname" name="usergroup"  nbsp="true"/></td>
              <td><a href="../../biee/ApprovalNotesFrm.jsp?<%= OvalTools.randomURL() %>&transactionid=<custom:write name="usergroup" property="zylhospitalapproveid"/>&transactioncode=<custom:write name="usergroup" property="zylhospitalapproveid"/>&subjectcode=<%=subjectcode%>&batchno=<custom:write name="usergroup" property="batchno"/>">
              <%= label.getLabelName("L_Approve") %>
              </a></td>
              <td><custom:write property="orgcode" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="yl_orgcode" name="usergroup"  nbsp="true"/></td>
              <td><custom:write property="orgname" name="usergroup"  nbsp="true"/></td>
              <custom:hidden property="detailstatus" changedName="status" name="usergroup" colIndex="<%=idx %>" />
              <%
              HashMap row1=null;
              HashMap row2=null;
              HashMap row3=null;
              HashMap row4=null;
              HashMap row5=null;
              HashMap row6=null;
              HashMap row7=null;
              HashMap row8=null;
              HashMap row9=null;
              HashMap row10=null;
              HashMap row11=null;
              HashMap row12=null;
              HashMap row13=null;
              HashMap row14=null;
              HashMap row15=null;
              HashMap row16=null;
              HashMap row17=null;
              HashMap row18=null;
              HashMap row19=null;
              HashMap row20=null;
              HashMap row21=null;
              HashMap row22=null;
              HashMap row23=null;
              HashMap row24=null;
              HashMap row25=null;
              HashMap row26=null;
              HashMap row27=null;
              HashMap row28=null;
              HashMap row29=null;
              HashMap row30=null;
              for(int ii=0;ii<oldhtotalsummary.size();ii++){
            	  if(userGroupMap.get("orgcode")!=null){
	            	  if(((String)userGroupMap.get("orgcode")).equals(((String)(((HashMap)oldhtotalsummary.get(ii)).get("orgcode"))))){
	            		if(userGroupMap.get("productgroupid1")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid1")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row1=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row1",row1);
	                	  }
	            		}
	            		if(userGroupMap.get("productgroupid2")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid2")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row2=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row2",row2);
	                	  }
	            		}
	            		if(userGroupMap.get("productgroupid3")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid3")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row3=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row3",row3);
	                	  }
	            		}
	            	    if(userGroupMap.get("productgroupid4")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid4")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row4=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row4",row4);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid5")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid5")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row5=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row5",row5);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid6")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid6")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row6=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row6",row6);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid7")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid7")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row7=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row7",row7);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid8")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid8")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row8=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row8",row8);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid9")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid9")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row9=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row9",row9);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid10")!=null){
	            		  if(((Integer)userGroupMap.get("productgroupid10")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	            			  row10=(HashMap)oldhtotalsummary.get(ii);
	            			  pageContext.setAttribute("row10",row10);
	                	  }
	            	    }
	            	    if(userGroupMap.get("productgroupid11")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid11")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row11=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row11",row11);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid12")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid12")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row12=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row12",row12);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid13")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid13")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row13=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row13",row13);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid14")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid14")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row14=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row14",row14);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid15")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid15")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row15=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row15",row15);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid16")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid16")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row16=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row16",row16);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid17")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid17")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row17=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row17",row17);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid18")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid18")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row18=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row18",row18);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid19")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid19")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row19=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row19",row19);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid20")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid20")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row20=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row20",row20);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid21")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid21")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row21=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row21",row21);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid22")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid22")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row22=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row22",row22);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid23")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid23")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row23=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row23",row23);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid24")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid24")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row24=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row24",row24);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid25")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid25")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row25=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row25",row25);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid26")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid26")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row26=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row26",row26);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid27")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid27")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row27=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row27",row27);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid28")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid28")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row28=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row28",row28);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid29")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid29")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row29=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row29",row29);
	                  	  }
	              	    }
	            	    if(userGroupMap.get("productgroupid30")!=null){
	              		  if(((Integer)userGroupMap.get("productgroupid30")).equals(((Integer)(((HashMap)oldhtotalsummary.get(ii)).get("productgroupid"))))){
	              			  row30=(HashMap)oldhtotalsummary.get(ii);
	              			  pageContext.setAttribute("row30",row30);
	                  	  }
	              	    }
	            	  }  
            	  }
              }
              %>
              <% if(row1 == null) {%>
                 <td><font color="green"><custom:write property="area1" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode1" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname1" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
              <td>
                <p title="<%=(String)row1.get("areaname") %>" style="color: red;" id="area1_<%=idx %>"><custom:write property="area1" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area1" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea1" name="row1"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row1.get("username") %>" style="color: red;" id="contactcode1_<%=idx %>"><custom:write property="contactcode1" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode1" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode1" name="row1"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row1.get("employeename") %>" style="color: red;" id="contactname1_<%=idx %>"><custom:write property="contactname1" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname1" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname1" name="row1"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row2 == null) {
              %>
                 <td><font color="green"><custom:write property="area2" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode2" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname2" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
             <td>
                <p title="<%=(String)row2.get("areaname") %>" style="color: red;" id="area2_<%=idx %>"><custom:write property="area2" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area2" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea2" name="row2"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row2.get("username") %>" style="color: red;" id="contactcode2_<%=idx %>"><custom:write property="contactcode2" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode2" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode2" name="row2"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row2.get("employeename") %>" style="color: red;" id="contactname2_<%=idx %>"><custom:write property="contactname2" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname2" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname2" name="row2"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row3 == null) {
              %>
                 <td><font color="green"><custom:write property="area3" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode3" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname3" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row3.get("areaname") %>" style="color: red;" id="area3_<%=idx %>"><custom:write property="area3" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area3" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea3" name="row3"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row3.get("username") %>" style="color: red;" id="contactcode3_<%=idx %>"><custom:write property="contactcode3" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode3" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode3" name="row3"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row3.get("employeename") %>" style="color: red;" id="contactname3_<%=idx %>"><custom:write property="contactname3" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname3" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname3" name="row3"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row4 == null) {
              %>
                 <td><font color="green"><custom:write property="area4" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode4" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname4" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
             <td>
                <p title="<%=(String)row4.get("areaname") %>" style="color: red;" id="area4_<%=idx %>"><custom:write property="area4" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area4" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea4" name="row4"   colIndex="<%=idx %>"/>
            </td>
              <td>
                <p title="<%=(String)row4.get("username") %>" style="color: red;" id="contactcode4_<%=idx %>"><custom:write property="contactcode4" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode4" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode4" name="row4"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row4.get("employeename") %>" style="color: red;" id="contactname4_<%=idx %>"><custom:write property="contactname4" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname4" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname4" name="row4"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row5 == null) {
              %>
                 <td><font color="green"><custom:write property="area5" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode5" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname5" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
           <td>
                <p title="<%=(String)row5.get("areaname") %>" style="color: red;" id="area5_<%=idx %>"><custom:write property="area5" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area5" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea5" name="row5"   colIndex="<%=idx %>"/>
          </td>
              <td>
                <p title="<%=(String)row5.get("username") %>" style="color: red;" id="contactcode5_<%=idx %>"><custom:write property="contactcode5" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode5" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode5" name="row5"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row5.get("employeename") %>" style="color: red;" id="contactname5_<%=idx %>"><custom:write property="contactname5" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname5" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname5" name="row5"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row6 == null) {
              %>
                 <td><font color="green"><custom:write property="area6" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode6" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname6" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row6.get("areaname") %>" style="color: red;" id="area6_<%=idx %>"><custom:write property="area6" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area6" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea6" name="row6"   colIndex="<%=idx %>"/>
              
              </td>
              <td>
                <p title="<%=(String)row6.get("username") %>" style="color: red;" id="contactcode6_<%=idx %>"><custom:write property="contactcode6" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode6" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode6" name="row6"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row6.get("employeename") %>" style="color: red;" id="contactname6_<%=idx %>"><custom:write property="contactname6" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname6" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname6" name="row6"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row7 == null) {
              %>
                 <td><font color="green"><custom:write property="area7" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode7" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname7" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
             <td>
            
                <p title="<%=(String)row7.get("areaname") %>" style="color: red;" id="area7_<%=idx %>"><custom:write property="area7" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area7" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea7" name="row7"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row7.get("username") %>" style="color: red;" id="contactcode7_<%=idx %>"><custom:write property="contactcode7" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode7" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode7" name="row7"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row7.get("employeename") %>" style="color: red;" id="contactname7_<%=idx %>"><custom:write property="contactname7" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname7" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname7" name="row7"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row8 == null) {
              %>
                 <td><font color="green"><custom:write property="area8" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode8" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname8" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
           <td>
                <p title="<%=(String)row8.get("areaname") %>" style="color: red;" id="area8_<%=idx %>"><custom:write property="area8" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area8" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea8" name="row8"   colIndex="<%=idx %>"/>        
          </td>
              <td>
                <p title="<%=(String)row8.get("username") %>" style="color: red;" id="contactcode8_<%=idx %>"><custom:write property="contactcode8" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode8" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode8" name="row8"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row8.get("employeename") %>" style="color: red;" id="contactname8_<%=idx %>"><custom:write property="contactname8" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname8" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname8" name="row8"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row9 == null) {
              %>
                 <td><font color="green"><custom:write property="area9" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode9" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname9" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
           <td>
                <p title="<%=(String)row9.get("areaname") %>" style="color: red;" id="area9_<%=idx %>"><custom:write property="area9" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area9" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea9" name="row9"   colIndex="<%=idx %>"/>
                
           </td>
              <td>
                <p title="<%=(String)row9.get("username") %>" style="color: red;" id="contactcode9_<%=idx %>"><custom:write property="contactcode9" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode9" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode9" name="row9"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row9.get("employeename") %>" style="color: red;" id="contactname9_<%=idx %>"><custom:write property="contactname9" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname9" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname9" name="row9"   colIndex="<%=idx %>"/>
              </td>
              <%} %>
               <% 
              if(row10 == null) {
              %>
                 <td><font color="green"><custom:write property="area10" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode10" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname10" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row10.get("areaname") %>" style="color: red;" id="area10_<%=idx %>"><custom:write property="area10" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area10" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea10" name="row10"   colIndex="<%=idx %>"/>
             </td>
              <td>
                <p title="<%=(String)row10.get("username") %>" style="color: red;" id="contactcode10_<%=idx %>"><custom:write property="contactcode10" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode10" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode10" name="row10"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row10.get("employeename") %>" style="color: red;" id="contactname10_<%=idx %>"><custom:write property="contactname10" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname10" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname10" name="row10"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row11 == null) {
              %>
                 <td><font color="green"><custom:write property="area11" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode11" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname11" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row11.get("areaname") %>" style="color: red;" id="area11_<%=idx %>"><custom:write property="area11" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area11" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea11" name="row11"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row11.get("username") %>" style="color: red;" id="contactcode11_<%=idx %>"><custom:write property="contactcode11" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode11" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode11" name="row11"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row11.get("employeename") %>" style="color: red;" id="contactname11_<%=idx %>"><custom:write property="contactname11" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname11" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname11" name="row11"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row12 == null) {
              %>
                 <td><font color="green"><custom:write property="area12" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode12" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname12" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row12.get("areaname") %>" style="color: red;" id="area12_<%=idx %>"><custom:write property="area12" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area12" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea12" name="row12"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row12.get("username") %>" style="color: red;" id="contactcode12_<%=idx %>"><custom:write property="contactcode12" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode12" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode12" name="row12"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row12.get("employeename") %>" style="color: red;" id="contactname12_<%=idx %>"><custom:write property="contactname12" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname12" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname12" name="row12"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
              <% 
              if(row13 == null) {
              %>
                 <td><font color="green"><custom:write property="area13" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode13" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname13" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row13.get("areaname") %>" style="color: red;" id="area13_<%=idx %>"><custom:write property="area13" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area13" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea13" name="row13"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row13.get("username") %>" style="color: red;" id="contactcode13_<%=idx %>"><custom:write property="contactcode13" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode13" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode13" name="row13"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row13.get("employeename") %>" style="color: red;" id="contactname13_<%=idx %>"><custom:write property="contactname13" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname13" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname13" name="row13"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row14 == null) {
              %>
                 <td><font color="green"><custom:write property="area14" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode14" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname14" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row14.get("areaname") %>" style="color: red;" id="area14_<%=idx %>"><custom:write property="area14" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area14" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea14" name="row14"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row14.get("username") %>" style="color: red;" id="contactcode14_<%=idx %>"><custom:write property="contactcode14" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode14" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode14" name="row14"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row14.get("employeename") %>" style="color: red;" id="contactname14_<%=idx %>"><custom:write property="contactname14" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname14" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname14" name="row14"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row15 == null) {
              %>
                 <td><font color="green"><custom:write property="area15" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode15" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname15" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row15.get("areaname") %>" style="color: red;" id="area15_<%=idx %>"><custom:write property="area15" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area15" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea15" name="row15"   colIndex="<%=idx %>"/>
             </td>
              <td>
                <p title="<%=(String)row15.get("username") %>" style="color: red;" id="contactcode15_<%=idx %>"><custom:write property="contactcode15" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode15" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode15" name="row15"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row15.get("employeename") %>" style="color: red;" id="contactname15_<%=idx %>"><custom:write property="contactname15" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname15" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname15" name="row15"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row16 == null) {
              %>
                 <td><font color="green"><custom:write property="area16" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode16" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname16" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row16.get("areaname") %>" style="color: red;" id="area16_<%=idx %>"><custom:write property="area16" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area16" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea16" name="row16"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row16.get("username") %>" style="color: red;" id="contactcode16_<%=idx %>"><custom:write property="contactcode16" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode16" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode16" name="row16"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row16.get("employeename") %>" style="color: red;" id="contactname16_<%=idx %>"><custom:write property="contactname16" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname16" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname16" name="row16"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
              <% 
              if(row17 == null) {
              %>
                 <td><font color="green"><custom:write property="area17" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode17" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname17" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row17.get("areaname") %>" style="color: red;" id="area17_<%=idx %>"><custom:write property="area17" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area17" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea17" name="row17"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row17.get("username") %>" style="color: red;" id="contactcode17_<%=idx %>"><custom:write property="contactcode17" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode17" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode17" name="row17"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row17.get("employeename") %>" style="color: red;" id="contactname17_<%=idx %>"><custom:write property="contactname17" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname17" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname17" name="row17"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
           <% 
              if(row18 == null) {
              %>
                 <td><font color="green"><custom:write property="area18" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode18" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname18" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row18.get("areaname") %>" style="color: red;" id="area18_<%=idx %>"><custom:write property="area18" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area18" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea18" name="row18"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row18.get("username") %>" style="color: red;" id="contactcode18_<%=idx %>"><custom:write property="contactcode18" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode18" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode18" name="row18"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row18.get("employeename") %>" style="color: red;" id="contactname18_<%=idx %>"><custom:write property="contactname18" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname18" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname18" name="row18"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row19 == null) {
              %>
                 <td><font color="green"><custom:write property="area19" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode19" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname19" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row19.get("areaname") %>" style="color: red;" id="area19_<%=idx %>"><custom:write property="area19" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area19" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea19" name="row19"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row19.get("username") %>" style="color: red;" id="contactcode19_<%=idx %>"><custom:write property="contactcode19" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode19" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode19" name="row19"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row19.get("employeename") %>" style="color: red;" id="contactname19_<%=idx %>"><custom:write property="contactname19" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname19" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname19" name="row19"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
            <% 
              if(row20 == null) {
              %>
                 <td><font color="green"><custom:write property="area20" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode20" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname20" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row20.get("areaname") %>" style="color: red;" id="area20_<%=idx %>"><custom:write property="area20" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area20" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea20" name="row20"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row20.get("username") %>" style="color: red;" id="contactcode20_<%=idx %>"><custom:write property="contactcode20" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode20" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode20" name="row20"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row20.get("employeename") %>" style="color: red;" id="contactname20_<%=idx %>"><custom:write property="contactname20" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname20" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname20" name="row20"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row21 == null) {
              %>
                 <td><font color="green"><custom:write property="area21" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode21" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname21" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row21.get("areaname") %>" style="color: red;" id="area21_<%=idx %>"><custom:write property="area21" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area21" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea21" name="row21"   colIndex="<%=idx %>"/>
</td>            
 <td>
                <p title="<%=(String)row21.get("username") %>" style="color: red;" id="contactcode21_<%=idx %>"><custom:write property="contactcode21" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode21" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode21" name="row21"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row21.get("employeename") %>" style="color: red;" id="contactname21_<%=idx %>"><custom:write property="contactname21" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname21" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname21" name="row21"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
            <% 
              if(row22 == null) {
              %>
                 <td><font color="green"><custom:write property="area22" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode22" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname22" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row22.get("areaname") %>" style="color: red;" id="area22_<%=idx %>"><custom:write property="area22" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area22" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea22" name="row22"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row22.get("username") %>" style="color: red;" id="contactcode22_<%=idx %>"><custom:write property="contactcode22" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode22" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode22" name="row22"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row22.get("employeename") %>" style="color: red;" id="contactname22_<%=idx %>"><custom:write property="contactname22" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname22" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname22" name="row22"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
            <% 
              if(row23 == null) {
              %>
                 <td><font color="green"><custom:write property="area23" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode23" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname23" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row23.get("areaname") %>" style="color: red;" id="area23_<%=idx %>"><custom:write property="area23" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area23" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea23" name="row23"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row23.get("username") %>" style="color: red;" id="contactcode23_<%=idx %>"><custom:write property="contactcode23" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode23" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode23" name="row23"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row23.get("employeename") %>" style="color: red;" id="contactname23_<%=idx %>"><custom:write property="contactname23" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname23" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname23" name="row23"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row24 == null) {
              %>
                 <td><font color="green"><custom:write property="area24" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode24" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname24" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row24.get("areaname") %>" style="color: red;" id="area24_<%=idx %>"><custom:write property="area24" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area24" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea24" name="row24"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row24.get("username") %>" style="color: red;" id="contactcode24_<%=idx %>"><custom:write property="contactcode24" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode24" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode24" name="row24"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row24.get("employeename") %>" style="color: red;" id="contactname24_<%=idx %>"><custom:write property="contactname24" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname24" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname24" name="row24"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row25 == null) {
              %>
                 <td><font color="green"><custom:write property="area25" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode25" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname25" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row25.get("areaname") %>" style="color: red;" id="area25_<%=idx %>"><custom:write property="area25" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area25" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea25" name="row25"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row25.get("username") %>" style="color: red;" id="contactcode25_<%=idx %>"><custom:write property="contactcode25" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode25" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode25" name="row25"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row25.get("employeename") %>" style="color: red;" id="contactname25_<%=idx %>"><custom:write property="contactname25" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname25" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname25" name="row25"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
              <% 
              if(row26 == null) {
              %>
                 <td><font color="green"><custom:write property="area26" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode26" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname26" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row26.get("areaname") %>" style="color: red;" id="area26_<%=idx %>"><custom:write property="area26" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area26" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea26" name="row26"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row26.get("username") %>" style="color: red;" id="contactcode26_<%=idx %>"><custom:write property="contactcode26" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode26" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode26" name="row26"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row26.get("employeename") %>" style="color: red;" id="contactname26_<%=idx %>"><custom:write property="contactname26" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname26" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname26" name="row26"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
              <% 
              if(row27 == null) {
              %>
                 <td><font color="green"><custom:write property="area27" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode27" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname27" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row27.get("areaname") %>" style="color: red;" id="area27_<%=idx %>"><custom:write property="area27" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area27" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea27" name="row27"   colIndex="<%=idx %>"/>
             </td>
              <td>
                <p title="<%=(String)row27.get("username") %>" style="color: red;" id="contactcode27_<%=idx %>"><custom:write property="contactcode27" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode27" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode27" name="row27"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row27.get("employeename") %>" style="color: red;" id="contactname27_<%=idx %>"><custom:write property="contactname27" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname27" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname27" name="row27"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row28 == null) {
              %>
                 <td><font color="green"><custom:write property="area28" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode28" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname28" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row28.get("areaname") %>" style="color: red;" id="area28_<%=idx %>"><custom:write property="area28" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area28" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea28" name="row28"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row28.get("username") %>" style="color: red;" id="contactcode28_<%=idx %>"><custom:write property="contactcode28" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode28" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode28" name="row28"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row28.get("employeename") %>" style="color: red;" id="contactname28_<%=idx %>"><custom:write property="contactname28" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname28" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname28" name="row28"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
              <% 
              if(row29 == null) {
              %>
                 <td><font color="green"><custom:write property="area29" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode29" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname29" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row29.get("areaname") %>" style="color: red;" id="area29_<%=idx %>"><custom:write property="area29" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area29" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea29" name="row29"   colIndex="<%=idx %>"/>
             </td>
              <td>
                <p title="<%=(String)row29.get("username") %>" style="color: red;" id="contactcode29_<%=idx %>"><custom:write property="contactcode29" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode29" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode29" name="row29"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row29.get("employeename") %>" style="color: red;" id="contactname29_<%=idx %>"><custom:write property="contactname10" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname29" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname29" name="row29"   colIndex="<%=idx %>"/>
              </td>
         <%} %>
             <% 
              if(row30 == null) {
              %>
                 <td><font color="green"><custom:write property="area30" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactcode30" name="usergroup"  nbsp="true"/></font></td>
                 <td><font color="green"><custom:write property="contactname30" name="usergroup"  nbsp="true"/></font></td>
              <%}else{ %>
            <td>
                <p title="<%=(String)row30.get("areaname") %>" style="color: red;" id="area30_<%=idx %>"><custom:write property="area30" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="area30" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="areaname" changedName="oldarea30" name="row30"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row30.get("username") %>" style="color: red;" id="contactcode30_<%=idx %>"><custom:write property="contactcode30" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactcode30" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="username" changedName="oldcontactcode30" name="row30"   colIndex="<%=idx %>"/>
              </td>
              <td>
                <p title="<%=(String)row30.get("employeename") %>" style="color: red;" id="contactname30_<%=idx %>"><custom:write property="contactname30" name="usergroup"  nbsp="true"/></p>
                <custom:hidden property="contactname30" name="usergroup"  colIndex="<%=idx %>"/>
                <custom:hidden property="employeename" changedName="oldcontactname30" name="row30"   colIndex="<%=idx %>"/>
              </td>
         <%} %>

          <% } %>                 
                           
	</tr>

            
    </logic:iterate>  
    
    <input type="hidden" name="zyldealerapproveid" value="<%=JspHelper.filterNull( nDefaultzyldealerapproveid )%>">

    
</span>
<!--		<tr> -->
	<!--			<td colspan="66" align="left"><%= label.getLabelName("L_TotalData") + label.getLabelName("L_Colon") %><custom:write property="count" name="count" nbsp="true"/></td> -->
	<!--		</tr> -->
            <%@ include file="/inc/SummaryActionUP.inc" %>

          </table>
    
 </div>   
    <% //--------------------------------------  page operation button --%>
    <table width="6600" border="1" cellpadding="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" cellspacing="0" align="center">
    	<tr> 
        	<td class="summary_top" ></td>
        </tr>
        <tr> 
        	<td class="td_center"> 
        	<% if (subjectcode.equals("802")||subjectcode.equals("803")||subjectcode.equals("804")||subjectcode.equals("805")||subjectcode.equals("806")||subjectcode.equals("807")||subjectcode.equals("808")||subjectcode.equals("809")||subjectcode.equals("810")||subjectcode.equals("811")||subjectcode.equals("812")){ %>
<!--        	<a onclick="javascript:page_approval()" ><custom:button type="1" label="L_Check" imgsrc="save.gif" border="0" style="width:60"   /></a>-->
        		<a onclick="page_done('agree')"><custom:button type="1" label="L_Agree" imgsrc="new.gif" border="0" style="width:60"/></a>
        		<a onclick="page_done('disagree')"><custom:button type="1" label="L_NotAgree" imgsrc="edit.gif" border="0" style="width:60"/></a>
        		<a onclick="page_done('deny')"><custom:button type="1" label="L_Deny" imgsrc="delete.gif" border="0" style="width:60"/></a>  
        		<%} %>
        		<a onclick="page_back();"><custom:button type="1" label="L_Back" imgsrc="back.gif" border="0" style="width:60"/></a>      		
        	</td>
        </tr>
  	</table>

</form>
<script>
  var myform = eval("document.usergroupsummaryform");

 <% if (subjectcode.equalsIgnoreCase("809")){  %>
  var arr=["area","contactcode","contactname"];
   for(var i=0;i<<%=userGroupSummary.size()%>;i++){
	for(var j=0;j<arr.length;j++){
	  for(var k=1;k<=10;k++){
		var obj=eval("myform."+arr[j]+k+i);
		var oldobj=eval("myform.old"+arr[j]+k+i);
		if(obj!=null)
		{
			if(obj.value==oldobj.value){
			  document.getElementById(arr[j]+k+"_"+i).style.color="black";
			  document.getElementById(arr[j]+k+"_"+i).title="";
			}
		}
		
	 }
	}			
   }
 <%}%>

 
</script>
</body>
</html>


